#include <stdlib.h>
#include <gtk/gtk.h>
const char *gladefile="gladeui.glade";

G_MODULE_EXPORT gboolean
button1_clicked_cb(GtkWidget *widget,gpointer data) {
	g_debug("button1_clicked_cb");
	return FALSE;
}

int main(int argc,char *argv[]) {
	GtkWidget *window;
	GtkBuilder *builder;
	GError *error;
	gint ret;
	
	gtk_init(&argc,&argv);

	builder=gtk_builder_new();
	
	error=NULL;
	ret=gtk_builder_add_from_file(builder,gladefile,&error);
	if (!ret) {
		g_warning("gtk_builder_add_from_file");
		g_free(error);
		exit(1);
	}
	
	window=GTK_WIDGET(gtk_builder_get_object(builder,"window1"));
	gtk_builder_connect_signals(builder,NULL);
	
	gtk_widget_show_all(window);

	gtk_main();

	return 0;
}

